export const gdBaseInfoPath = 'gd-base-info'

export const gdBaseInfoMethods = ['find', 'get', 'create', 'patch', 'remove']

export const gdBaseInfoClient = (client) => {
  const connection = client.get('connection')

  client.use(gdBaseInfoPath, connection.service(gdBaseInfoPath), {
    methods: gdBaseInfoMethods
  })
}
